package com.ch04;

public class WarehouseFinal {
	public static void main(String[] args) {
		final LightFinal tableLight = new LightFinal();// (5) Final local variable.
		tableLight.noOfWatts = 100; // (6) OK. Changing object state.
		// tableLight = new LightFinal(); // (7) Not OK. Changing final reference.
		final LightFinal streetLight; // (8) Not initialized.
		//streetLight.noOfWatts = 2000; // (9) Not OK.
		}
}
